package com.ssyt.wxstore.store.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * StoreReceiveAddress entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "store_receive_address", catalog = "wxstore")
public class StoreReceiveAddress implements java.io.Serializable {

	// Fields

	private String id;
	private String receiver;
	private String province;
	private String city;
	private String area;
	private String address;
	private String phone;
	private String sysUserId;
	private Integer state;

	// Constructors

	/** default constructor */
	public StoreReceiveAddress() {
	}

	/** full constructor */
	public StoreReceiveAddress(String id, String receiver, String province,
			String city, String area, String address, String phone,
			String sysUserId, Integer state) {
		this.id = id;
		this.receiver = receiver;
		this.province = province;
		this.city = city;
		this.area = area;
		this.address = address;
		this.phone = phone;
		this.sysUserId = sysUserId;
		this.state = state;
	}

	// Property accessors
	@Id
	@Column(name = "id", unique = true, nullable = false, length = 50)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "receiver", nullable = false, length = 20)
	public String getReceiver() {
		return this.receiver;
	}

	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}

	@Column(name = "province", nullable = false, length = 20)
	public String getProvince() {
		return this.province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	@Column(name = "city", nullable = false, length = 20)
	public String getCity() {
		return this.city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	@Column(name = "area", nullable = false, length = 20)
	public String getArea() {
		return this.area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	@Column(name = "address", nullable = false, length = 20)
	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Column(name = "phone", nullable = false, length = 20)
	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	@Column(name = "sys_user_id", nullable = false, length = 50)
	public String getSysUserId() {
		return this.sysUserId;
	}

	public void setSysUserId(String sysUserId) {
		this.sysUserId = sysUserId;
	}

	@Column(name = "state", nullable = false)
	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

}